﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.ServiceLocation;

namespace LogManager.Base.Data
{
    public class LocatorLogFactory : ILogFactory
    {      
        public ILog Create(string typeId)
        {
            return ServiceLocator.Current.GetInstance(typeof(ILog), typeId) as ILog;            
        }
    }
}
